package com.syt;

import java.awt.Frame;


public class Main {

	public static void main(String[] args) throws InterruptedException {
		TankFrame tf = new TankFrame();

		int initTankCount = Integer.parseInt((String)PropertyMgr.get("initTankCount"));
//		初始化坦克
		for(int i = 0;i<initTankCount;i++) {
			tf.enemies.add(new Tank(50+i*80,200,Dir.DOWN,Group.BAD,tf));
		}
		
		while(true) {
			Thread.sleep(50);
			tf.repaint();
		}

	}

}
